package com.jic.member.enums;

public enum EXCEPTION {

    SUCCESS("0000", "成功"),
    FAIL("9999", "失败"),
    SAVE_SUCCESS("200", "保存成功"),
    SAVE_FAIL("300", "保存失败"),
    UPDATE_SUCCESS("400", "更新成功"),
    UPDATE_FAIL("500", "更新失败"),
    ACTION_FAIL("7777", "接口条件为空"),
    ISNULL("1111", "查询信息为空"),
    NO_PERMISSION("3333", "属于母平台权限，其他组织成员无权限!"),
    UNIQUE_LETTER("4444", "字母简称不可重复，请重新输入"),
    USER_CONSUMPTION("2000", "用户消费或充值未到达配置每次消费或充值金额");

    private String name;
    private String desc;
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getDesc() {
        return desc;
    }
    public void setDesc(String desc) {
        this.desc = desc;
    }

    private EXCEPTION(String name, String desc) {
        this.name = name;
        this.desc = desc;
    }

}
